import sys

# 获取 Python 版本信息
version = sys.version
print("Python version:", version)

# 获取 Python 版本号
version_info = sys.version_info
print("Python version info:", version_info)